package com.temple.model.card;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.comon.core.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * Created with Intellij IDEA.
 * Description;
 * User:TQ02
 * Data:2024-09-12
 * Time:12:06
 * Text：
 */
@TableName("card_info")
@Getter
@Setter
public class CardInfo extends BaseEntity {
    @TableId(value = "card_id")
    @Schema(description = "帖子ID")
    private Integer cardId;
    @Schema(description = "帖子标题")
    private String cardTitle;
    @Schema(description = "帖子内容")
    private String cardContent;
    @Schema(description = "帖子照片")
    private String cardPhoto;
    @Schema(description = "帖子创建人")
    private Long cardUid;
    @Schema(description = "帖子评论数目")
    private int cardPlnumber;
    @Schema(description = "殿堂ID")
    private Integer cardCirid;
    @Schema(description = "父帖子ID")
    private int parentId;
}
